package com.ccc.mapper;

import com.ccc.entity.StuGradeDis;
import com.ccc.entity.StuReport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ccc
 * @since 2022-01-03
 */
public interface StuReportMapper extends BaseMapper<StuReport> {

    List<StuReport> reportList();

    List<StuReport> stuReportList(String username);

    void addReport(String username, String title, String content);

    void updateScoreById(Long reportId, String grade);

    List<StuGradeDis> getGradeDis();
}
